<%--
  Created by IntelliJ IDEA.
  User: HX
  Date: 2021/1/25
  Time: 20:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/userServlet?action=login" method="post">
    <label for="username">用户名:</label>
    <input type="text" name="username" id="username" ><span style="color: red;">${msg}</span><br>
    <label for="password">密码:</label>
    <input type="password" name="pwd" id="password"><br>
    <input type="submit" value="登陆">

</form>

</body>
</html>
